package com.gaohe.service;

import com.gaohe.pojo.Book;
import com.gaohe.utils.Result;
import jakarta.servlet.http.HttpSession;

import java.util.List;

public interface BookService {
    Result listBooks();

    Result savaBook(Book book);

    String deleteById(Integer id);

    List<Book> getByConditions(Book book);

    String updateById(Book book);


}
